* {
    margin: 0;
    padding: 0;
}
html,body{
    width: 100%;
    height: 100%;
}
ul li {
    list-style: none;
}
.container{
    width: 510px;
    height: 293px;
    position: relative;
    margin: 50px auto;
    border: 4px solid #ccc;
    overflow: hidden;
}
.container .rotation{
    position: absolute;
    width: 5610px;
    left:0px;
    top: 0;
    /* transition: left .5s linear; */
}
.container .rotation li{
    float: left;
    /* display: inline-block; */
}
.container .rotation li img{
    width: 510px;
    height: 293px;
    vertical-align: top;
    display: inline-block;
}
.container .btn {
    width: 50px;
    height: 75px;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    text-align: center;
    line-height: 75px;
    font-size: 30px;
    color: #f5f5f5;
    display: none;
}

.container .pre {
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 0 5px 5px 0;
}

.container .next {
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 5px 0 0 5px;
}

.container .nav {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 10px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 240px;
}

.container .nav li {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    float: left;
    cursor: pointer;
}

.container .nav .active {
    background-color: #ccc;
    border: 3px solid #f5f5f5;
}